﻿@model ScrumTracker.Model.Product
<div>
    @Html.LabelFor(m => m.Name) @Html.ValidationMessageFor(m => m.Name)
</div>
@Html.EditorFor(m => m.Name)
<div>
    @Html.LabelFor(m => m.DefinitionOfDone) @Html.ValidationMessageFor(m => m.DefinitionOfDone)
</div>
@Html.EditorFor(m => m.DefinitionOfDone)
<div class="switch-checkbox-wrapper" style="display: block;">
    <label class="switch-checkbox-label float-left">
        product visibility</label>
    <div class="switch-checkbox">
        <input type="hidden" name="IsHidden" value="@((Model.IsHidden ?? false) ? "true" : "false")" />
        <input type="checkbox" name="IsHidden" @(!(Model.IsHidden ?? false) ? "checked" : "") class="desktop" />
        <label for="check3">&nbsp;</label>
    </div>
</div>
<div class="form-buttons">
    <input type="submit" value="save" class="save-btn" />
    <input type="reset" value="cancel" class="cancel-btn" />
</div>
